<?php
include ("inc/head-html.php");
include_once("inc/session.php");


?>
<div id="navig">  
<h2><a href="index.php">Gestion Compétition FSCF</a>-><a href="admin.php">Administration</a></h2>
</div>



<?php

  if ($_SESSION['ADMIN'] == 1) {
    echo '<div id="menu">';  
    echo '<a href="users.php">Gestion Utilisateurs</a><br>';
    echo '<a href="admin_ligues.php">Liste des Ligues</a><br>';
    echo '<a href="admin_clubs.php">Liste des Clubs</a><br>';
    echo '<a href="compet.php">Liste des Compétitions</a><br>';
    echo '<a href="afficheur.php">Afficheurs LED</a><br>';
    echo '</div>';
  }             
?>
  <script>
   function doInit(){

          dhxMainLayout.cells("b").attachObject("navig");
          dhxMainLayout.cells("c").attachObject("menu");
}
</script>

<?php

include ("inc/foot-html.php");
?>
